/*    */ package system.staros.sblock1;
/*    */ 
/*    */ public final class ZemBoolean extends ZemObject
/*    */ {
/* 30 */   public static final ZemBoolean TRUE = new ZemBoolean(true);
/* 31 */   public static final ZemBoolean FALSE = new ZemBoolean(false);
/*    */   private boolean value;
/*    */ 
/*    */   private ZemBoolean(boolean paramBoolean)
/*    */   {
/* 36 */     this.value = paramBoolean;
/*    */   }
/*    */ 
/*    */   public boolean booleanValue() {
/* 40 */     return this.value;
/*    */   }
/*    */ 
/*    */   public static ZemBoolean valueOf(boolean paramBoolean) {
/* 44 */     return paramBoolean ? TRUE : FALSE;
/*    */   }
/*    */ 
/*    */   public ZemBoolean and(ZemBoolean paramZemBoolean) {
/* 48 */     return valueOf((this.value) && (paramZemBoolean.value));
/*    */   }
/*    */ 
/*    */   public ZemBoolean or(ZemBoolean paramZemBoolean) {
/* 52 */     return valueOf((this.value) || (paramZemBoolean.value));
/*    */   }
/*    */ 
/*    */   public ZemBoolean not() {
/* 56 */     return valueOf(!this.value);
/*    */   }
/*    */ 
/*    */   public ZemString toZString()
/*    */   {
/* 61 */     return new ZemString(toString());
/*    */   }
/*    */ 
/*    */   public String toString()
/*    */   {
/* 66 */     return this == TRUE ? "true" : "false";
/*    */   }
/*    */ 
/*    */   public int compareTo(ZemObject paramZemObject)
/*    */   {
/* 71 */     throw new UnsupportedOperationException();
/*    */   }
/*    */ 
/*    */   public boolean equals(Object paramObject)
/*    */   {
/* 76 */     return this == paramObject;
/*    */   }
/*    */ }

/* Location:           D:\Марк\!IMPORTANT\staros\archive\version-2.260.zip
 * Qualified Name:     system.staros.sblock1.ZemBoolean
 * JD-Core Version:    0.6.1
 */